match x:
    case ('foo<caret>bar'):
        pass